package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.CaseInfo;
import cn.wolfcode.crm.domain.CompensationInfo;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface ICompensationInfoService {
    void save(CompensationInfo entity, Long caseInfoId);

    void delete(Long id);

    CompensationInfo get(Long id);

    List<CompensationInfo> listAll();

    PageResult query(QueryObject qo);

    void deleteByCaseInfoId(Long caseInfoId);

    Long selectInsureInfoIdByCaseInfoId(Long caseInfoId);

    CompensationInfo selectById(Long id);

    CaseInfo selectCaseInfoById(Long id);
}
